<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/jspgou_sys/head.html"/>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});
function importTpl() {
	if($("#tplZip").val()=="") {
		return;
	}
	var form = document.getElementById("jvForm");
	form.action = "o_mobileImport.do";
	form.encoding = "multipart/form-data";
	form.submit();
}
function exportTpl() {
	var form = document.getElementById("jvForm");
	form.action = "o_mobileExport.do";
	form.encoding = "application/x-www-form-urlencoded";
	form.submit();
}
</script>
</head>
<body>
<div class="body-box">
<div class="rhead">
	<div class="rpos"><@s.m "global.position"/>: <@s.m "template.function"/> - <@s.m "template.mobileSolution.function"/></div>
	<div class="clear"></div>
</div>
<@p.form id="jvForm" labelWidth="20" action="o_mobile_solution.do">
<@p.td label="模板导入">
	<input type="file" id="tplZip" name="tplZip"/>
&nbsp; <input type="button" onclick="importTpl();" value="导入"/>
</@p.td><@p.tr/>

<@p.td label="模板导出">
<input type="button" onclick="exportTpl();" value="导出"/>
</@p.td>
</@p.form>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>